<@override name="main">
<button id="reload_index">
    <span><span>刷新索引目录</span></span>
</button>
</@override>
<@override name="scripts">
<script type="text/javascript">

    var js_params = {
        reload_index: '<@s.url '/preferences/reload_index'/>'
    };

    $(document).ready(function () {
        $('#reload_index').click(function () {
            cdms.common.ajax_get(js_params.reload_index, function (data) {
                alert(data.message);
            })
        });
    })
</script>
</@override>
<@extends name="/common/layout.ftl" current="settings" title="home.layout.menu.item.5"></@extends>